package com.ehome.poct.base.dao.mapping;

import com.ehome.poct.base.api.vo.banner.BannerInfoVO;
import com.ehome.poct.base.dao.banner.entity.TestConfBannerDO;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @description:
 * @author: muqiu
 * @time: 2022/3/9 11:48
 */
@Mapper(componentModel = "spring")
public interface BannerMapping {

    List<BannerInfoVO> toBannerInfoVOList(List<TestConfBannerDO> records);

    BannerInfoVO to(TestConfBannerDO testConfBannerDO);
}
